<?php /* Smarty version Smarty-3.1.8, created on 2012-06-14 07:47:19
         compiled from "../includes/interface/templates\personne.tpl" */ ?>
<?php /*%%SmartyHeaderCode:204264fd988d09c19b0-28499795%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7dbc5818c349b486fe52d9e79a4414ba606b9b4b' => 
    array (
      0 => '../includes/interface/templates\\personne.tpl',
      1 => 1339659852,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '204264fd988d09c19b0-28499795',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4fd988d0c22881_16952253',
  'variables' => 
  array (
    'groupe' => 0,
    'listePersonnes' => 0,
    'record' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4fd988d0c22881_16952253')) {function content_4fd988d0c22881_16952253($_smarty_tpl) {?><?php if (!is_callable('smarty_function_cycle')) include 'C:\\wamp\\www\\trunk\\includes\\interface\\smarty\\libs\\plugins\\function.cycle.php';
?><section id="content">
    
    <h1 class="article"><?php echo $_smarty_tpl->getConfigVariable('PERSONNES');?>
</h1>
    
    <div class="article buttons">
        <a id="personnesRechercher" href="?action=afficherRechercherPersonne">
            <span><?php echo $_smarty_tpl->getConfigVariable('RECHERCHER');?>
</span>
        </a>
        <a id="personnesAjouter" href="?action=afficherAjouterPersonne">
            <span><?php echo $_smarty_tpl->getConfigVariable('AJOUTER');?>
</span>
        </a>
    </div>
        <h2 class="article"><?php echo $_smarty_tpl->getConfigVariable('DERNIER_ENREGISTREMENT');?>
</h2>
        <table id="tableauRecherche" class="article">
            <thead>
                <tr>
                    <th id="personneRechercheID"><?php echo $_smarty_tpl->getConfigVariable('ID');?>
</th>
                    <th id="personneRechercheNom"><?php echo $_smarty_tpl->getConfigVariable('NOM');?>
</th>
                    <th id="personneRecherchePrenom"><?php echo $_smarty_tpl->getConfigVariable('PRENOM');?>
</th>
                    <th id="personneRechercheEmail"><?php echo $_smarty_tpl->getConfigVariable('EMAIL');?>
</th>
                    <?php if ((isset($_smarty_tpl->tpl_vars['groupe']->value))&&($_smarty_tpl->tpl_vars['groupe']->value=='Super Administrateurs')){?>
                    <th id="personneRechercheAction"></th>
                    <?php }?>
                </tr> 
            </thead>
            <tbody>
                       <?php  $_smarty_tpl->tpl_vars['record'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['record']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['listePersonnes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['record']->iteration=0;
foreach ($_from as $_smarty_tpl->tpl_vars['record']->key => $_smarty_tpl->tpl_vars['record']->value){
$_smarty_tpl->tpl_vars['record']->_loop = true;
 $_smarty_tpl->tpl_vars['record']->iteration++;
?>
                       <?php if ($_smarty_tpl->tpl_vars['record']->iteration==11){?>
                       <?php break 1?>
                       <?php }else{ ?>
                        <tr class="<?php echo smarty_function_cycle(array('values'=>"ligne1,ligne2"),$_smarty_tpl);?>
">
                            <td><a href ="?action=afficherPersonne&id=<?php echo $_smarty_tpl->tpl_vars['record']->value->getId();?>
"><?php echo $_smarty_tpl->tpl_vars['record']->value->getId();?>
</a></td>
                            <td><?php echo $_smarty_tpl->tpl_vars['record']->value->getNom();?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['record']->value->getPrenom();?>
</td>
                            <td><a href ="mailto:<?php echo $_smarty_tpl->tpl_vars['record']->value->getEmail();?>
"><?php echo $_smarty_tpl->tpl_vars['record']->value->getEmail();?>
</a></td>
                            <?php if ((isset($_smarty_tpl->tpl_vars['groupe']->value))&&($_smarty_tpl->tpl_vars['groupe']->value=='Super Administrateurs')){?>
                            <td><a class="actions" href="?action=afficherSupprimerPersonne&id=<?php echo $_smarty_tpl->tpl_vars['record']->value->getId();?>
"><?php echo $_smarty_tpl->getConfigVariable('SUPPRIMER');?>
</a></td>
                            <?php }?>
                        </tr>
                        <?php }?>
                    <?php } ?>   
            </tbody>  
        </table> 
    
    
</section>    <?php }} ?>